package com.dyzx.hbb.modules.attendance.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
public class AttendanceClockVO {
    @NotNull(message = "打卡时间不能为空")
    @JsonProperty("shift_id")
    Long shiftId;
    @JsonProperty("user_work_id")
    Long userWorkId;
    @NotNull(message = "打卡时间不能为空")
    @JsonProperty("end")
    boolean end;

    @NotNull(message = "打卡时间不能为空")
    @JsonProperty("config_id")
    private Long configId;

    @JsonProperty("location")
    private  String location;


    //device_id: 2, image_id: 353
    @JsonProperty("device_id")
    private Long deviceId;
    @JsonProperty("image_id")
    private Long imageId;


}
